package com.mashibing.disruptor;

import com.lmax.disruptor.EventFactory;

/**
 * Disruptor使用的第二步
 * 定义Event工厂，用于填充队列
 * @author: Yuanzt
 * @Date: 2021/4/7
 */
public class LongEventFactory implements EventFactory<LongEvent> {
    @Override
    public LongEvent newInstance() {
        return new LongEvent();
    }
}
